package com.wox.util;

import com.wox.action.WoxAction;
import com.wox.config.ActionContext;
import com.yuchengtech.simpleServer.core.HttpRequest;
import com.yuchengtech.simpleServer.core.HttpResponse;


public class ServletActionContext {
     private static ThreadLocal<ActionContext> local;
	  static
	  {
		  local=WoxAction.local;
	  }
	public static HttpRequest getRequest() {
		return local.get().getRequest();
	}
	
	public static HttpResponse getResponse() {
		return local.get().getResponse();
	}
}
